<?php
ptaste();

interface ISite
{
	public function db();
	public function site_db();
	public function jeng_db();
	public function common_db();
	public function add_db($host,$user,$password,$database);
	public function del_db($id);
	public function select_db($id);
	public function conf();
	public function utils();
	public function party();
	public function logger();
}

interface ISiteChild
{
	public function __construct($site,$logger=null);
	public function site();
}

interface IJXmlProducer
{
	public function prepare();
	public function render();
	public static function s_render();
}

interface IAuth
{
	public function authenticate();
	public function doAuth();
	public function logout($user);
}

interface IUser
{
  public function id();
  public function name();
  public function group();
  public function groupId();
  public function fullName();
  public function eMail();
  public function status();
  public function rights();
  public function can($right);
}

interface ILogger
{
  public function debug();
  public function info();
  public function warning();
  public function error();
  public function fatal();
}

?>